/**
 * Chengzai.com Inc.
 * Copyright (c) 2016-2018 All Rights Reserved.
 */
package com.auxgroup.hr.front.service.personnal.impl;

import com.auxgroup.hr.front.dao.domain.PsCSchoolType;
import com.auxgroup.hr.front.dao.repository.PsCSchoolTypeRepository;
import com.auxgroup.hr.front.service.personnal.SchoolTypeService;
import org.hibernate.service.spi.InjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 学校服务
 *
 * @author tongqian.ni
 * @version $Id: SchoolTypeServiceImpl, v 0.1  2019-01-05.
 */
@Service("schoolTypeService")
public class SchoolTypeServiceImpl implements SchoolTypeService {
    @Autowired
    private PsCSchoolTypeRepository psCSchoolTypeRepository;

    @Override
    public List<PsCSchoolType> getAll() {
        return psCSchoolTypeRepository.findAll();
    }
}
